package persentation.presentAdministrator;

import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

public class ButtonPanel extends JPanel{
	/**
	 * Create the panel.
	 */
	private ImageIcon image;
	private JLabel imageLabel;
	private ImageIcon buttomBottom;
	private JLabel buttomBottomLabel;
	public ButtonPanel() {
		setSize(200, 610);
		setBackground(Color.green);
		setLayout(null);
		
		buttomBottom=new ImageIcon("Graphics/adminGraphics/buttonBottom.png");
		buttomBottomLabel=new JLabel(buttomBottom);
		buttomBottomLabel.setBounds(0, 0, 200, 610);
		add(buttomBottomLabel,-1);
		
		image=new ImageIcon("Graphics/adminGraphics/admin.jpg");
		Image temp=image.getImage();
		temp=temp.getScaledInstance(200, 300, Image.SCALE_FAST);
		image=new ImageIcon(temp);
		imageLabel=new JLabel(new ImageIcon("Graphics/adminGraphics/admin.jpg"));
		imageLabel.setVerticalAlignment(SwingConstants.BOTTOM);
		imageLabel.setBounds(new Rectangle(0, 302, 210, 308));
		add(imageLabel,0);
	}

}
